package com.kly.sc.api.application.controller.device.request;

import com.amazonaws.services.dynamodbv2.xspec.S;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

public class PushTokenRequest implements Serializable {
    @NotNull(message = "The parameter sourceType cannot be empty")
    private Integer sourceType;

    @NotEmpty(message = "The token sourceType cannot be empty")
    private String token;


    public Integer getSourceType() {
        return sourceType;
    }

    public void setSourceType(Integer sourceType) {
        this.sourceType = sourceType;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
